package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.HousingTrust;

/**
 * 房屋情况Mapper接口
 * 
 * @author ruoyi
 * @date 2021-06-16
 */
public interface HousingTrustMapper 
{
    /**
     * 查询房屋情况
     * 
     * @param htId 房屋情况ID
     * @return 房屋情况
     */
    public HousingTrust selectHousingTrustById(Long htId);

    /**
     * 查询房屋情况列表
     * 
     * @param housingTrust 房屋情况
     * @return 房屋情况集合
     */
    public List<HousingTrust> selectHousingTrustList(HousingTrust housingTrust);

    /**
     * 新增房屋情况
     * 
     * @param housingTrust 房屋情况
     * @return 结果
     */
    public int insertHousingTrust(HousingTrust housingTrust);

    /**
     * 修改房屋情况
     * 
     * @param housingTrust 房屋情况
     * @return 结果
     */
    public int updateHousingTrust(HousingTrust housingTrust);

    /**
     * 删除房屋情况
     * 
     * @param htId 房屋情况ID
     * @return 结果
     */
    public int deleteHousingTrustById(Long htId);

    /**
     * 批量删除房屋情况
     * 
     * @param htIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteHousingTrustByIds(Long[] htIds);
}
